
#!/bin/sh

YARD_NAME=dongfeng
#执行脚本转换到parquet的日志输出路径
BASE_LOG_PATH=/home/hdfs/hive_parquet/logs
#flume落盘数据的父目录
FLUME_SOURCE=/flume/TA
BASE_STAGE=/user/data
#行转列脚本数据导入目录
if [ $YARD_NAME != "default" ];then
	BASE_STAGE=$BASE_STAGE/$YARD_NAME
	FLUME_SOURCE=/flume/$YARD_NAME/TA
	BASE_LOG_PATH=/home/hdfs/$YARD_NAME/hive_parquet/logs
fi
STAGE_IMPORT=$BASE_STAGE/stage_import
#行转列脚本原始snappy数据备份目录
STAGE_BACKUP=$BASE_STAGE/stage_backup
PROTOCOLS=('0200' '0f37' '0f39' 'd002' 'd005' 'd006' 'd007')
#echo $BASE_LOG_PATH
#echo $FLUME_SOURCE
#echo $STAGE_IMPORT
#echo $STAGE_BACKUP
